package com.hhd.cwqs.qs.service.nc57;

import com.hhd.cwqs.entity.CwqsUnit;
import com.hhd.cwqs.qs.Params;
import com.hhd.cwqs.qs.service.BaseMainProcessor;
import com.hhd.cwqs.qs.service.PkBuilder;
import com.hhd.cwqs.qs.service.Processor;

import java.util.LinkedList;
import java.util.List;

@Processor(accountingSystem = "nc57")
public class NC57Processor extends BaseMainProcessor {
    @Override
    protected void doImport(Params param) {
        System.out.println(param.getYear() + param.getMonthes() +"nc57");
        PkBuilder pkBuilder = param.getPkBuilder();


        String year = param.getYear();
        List<String> monthes = param.getMonthes();
        for (String monthe : monthes) {
            CwqsUnit unit = param.getUnit();

            param.getTargetSqlTemplate().update("");

            param.getPackageData().setGlaAccountClsList(new LinkedList<>());
        }

    }
}
